home *** CD-ROM | disk | FTP | other *** search
- stop();
- onEnterFrame = function()
- {
- if(_parent._parent.pauses == false)
- {
- getTime(60);
- faces();
- if(vars == false and Math.abs(_parent._parent.man._x - (this.getBounds(_parent._parent).xMin + this.getBounds(_parent._parent).xMax) / 2) <= 100 and Math.abs(_parent._parent.man._y - this.getBounds(_parent._parent).yMax) <= 100)
- {
- this.gotoAndPlay("attack");
- vars = true;
- }
- }
- };
-